workspace_path=.
image_path=images
# individual, video, internet
data_type=video
# low, medium, high, extreme
quality=medium
# poisson, delaunay
mesher=poisson

date_simple=$(date +'%Y%m%d%H%M%S')
output_file=reconstruction_${date_simple}.log
nohup colmap automatic_reconstructor \
    --workspace_path $workspace_path \
    --image_path $image_path \
    --data_type $data_type \
    --quality $quality \
    --mesher $mesher \
    > $output_file 2>&1 &

sleep 1s
tail -f $output_file